package com.dubito.noteapp.data.database

import androidx.room.Database
import androidx.room.RoomDatabase
import com.dubito.noteapp.domain.model.Note

/**
 * author: LiLiang
 * createTime: 2022/10/7-11:39
 * remark:
 **/

@Database(entities = [Note::class], version = 1, exportSchema = false)
abstract class NoteDatabase : RoomDatabase() {

    abstract val noteDao: NoteDao

    companion object {
        const val DATABASE_NAME = "notes_db"
    }
}